package com.wunu.smartlock1.net.param;

public class  SubmitTempKeyParam {
    private long lockId;
    private long tempKeyId;
    private String startTime;
    private int validTime;
    private int validCount;

    private String cc;
    private String phone;

    public SubmitTempKeyParam() {
    }

    public SubmitTempKeyParam(long lockId, long tempKeyId, String startTime, int validTime, int validCount, String cc, String phone) {
        this.lockId = lockId;
        this.tempKeyId = tempKeyId;
        this.startTime = startTime;
        this.validTime = validTime;
        this.validCount = validCount;
        this.cc = cc;
        this.phone = phone;
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public long getLockId() {
        return lockId;
    }

    public void setLockId(long lockId) {
        this.lockId = lockId;
    }

    public long getTempKeyId() {
        return tempKeyId;
    }

    public void setTempKeyId(long tempKeyId) {
        this.tempKeyId = tempKeyId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public int getValidTime() {
        return validTime;
    }

    public void setValidTime(int validTime) {
        this.validTime = validTime;
    }

    public int getValidCount() {
        return validCount;
    }

    public void setValidCount(int validCount) {
        this.validCount = validCount;
    }

    @Override
    public String toString() {
        return "lockId" + lockId + "\t" +
                "tempKeyId" + tempKeyId + "\t" +
                "startTime" + startTime + "\t" +
                "validTime" + validTime + "\t" +
                "validCount" + validCount + "\t" +
                "cc" + cc + "\t" +
                "phone" + phone + "\t";
    }
}